package org.smarthings.things.commons.rest;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlType(name = "version")
@XmlRootElement(name = "version")
public class VersionResource extends BasicResource {

	private String specificationVersion;
	private String implementationVersion;

	@XmlElement(name = "specificationVersion", required = true)
	public String getSpecificationVersion() {
		return specificationVersion;
	}

	public void setSpecificationVersion(String specificationVersion) {
		this.specificationVersion = specificationVersion;
	}

	@XmlElement(name = "implementationVersion", required = true)
	public String getImplementationVersion() {
		return implementationVersion;
	}

	public void setImplementationVersion(String implementationVersion) {
		this.implementationVersion = implementationVersion;
	}

}
